package com.ruoyi.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.system.domain.ExamPaperAnswerObject;
import com.ruoyi.system.domain.SysExamPaperAnswer;
import com.ruoyi.system.domain.wx.SchoolStatisticsVo;

import java.util.List;
import java.util.Map;

/**
 * 试卷答案Service接口
 *
 * @author ruoyi
 * @date 2025-09-18
 */
public interface ISysExamPaperAnswerService extends IService<SysExamPaperAnswer> {

    int submit(ExamPaperAnswerObject examPaperAnswerObject);
    int whetherSubmit(ExamPaperAnswerObject examPaperAnswerObject);

    List<SysExamPaperAnswer> selectSysExamPaperAnswerList(SysExamPaperAnswer sysExamPaperAnswer);


    // 查询试卷的题目分类统计情况
    Map<String, Object> getExamPaperTypeStatistics(Long examPaperId);

    // 查询试卷的题目分类统计情况
    Map<String, Object> getExamPaperTypeStatistics(ExamPaperAnswerObject examPaperAnswerObject);

    List<SysExamPaperAnswer> statisticsList(SysExamPaperAnswer sysExamPaperAnswer);

    List<SchoolStatisticsVo> statisticsSchoolList(SysExamPaperAnswer sysExamPaperAnswer);




}
